package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CollectAddDTO {

    @ApiModelProperty(value="消息ID", required = true)
    @NotNull(message="缺少参数messageId")
    private String messageId;

    @ApiModelProperty(value = "收藏类型", required = true, example = "1:文字 2图片 3文件 4链接 5视频")
    @NotNull(message = "缺少参数collectType")
    private String collectType;

    @ApiModelProperty(value = "收藏内容", required = true)
    @NotNull(message="缺少参数content")
    private String content;

    @ApiModelProperty(value="原消息发送人id", required = true)
    @NotNull(message="缺少参数senderUid")
    private String senderUid;
}
